package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.pro.ProductionReport;
import com.qidianit.mes.pro.vo.FeedbackProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: shanzhe
 * @Date: 2025/9/26 - 16:22
 */
public interface FeedbackService {

    PageInfo<FeedbackProduct>  queryProductionReportByMAnyTags(Integer pageNum, Integer pageSize,
                                                               Integer reportType,
                                                               String  workflowName,
                                                               String productionOrderCode,
                                                               String productCode,
                                                               String productionName,
                                                               String reportName,
                                                               String approverName,
                                                               Integer status);
    int addProductionReport(ProductionReport productionReport);

    FeedbackProduct getProductionReportById(Long id);

    int updateProductionReport(ProductionReport productionReport);

    int deleteProductionReportById(@Param("id") Long id);

    int batchDeleteProductionReportByIds(@Param("ids") List<Long> ids);
}
